import $http from 'src/plugins/http';
import $api from 'src/plugins/http/api';
import {
	UtilTools
} from 'src/plugins/utils';

export function login(opts = {}) {
	return $http({
		'url': $api.login,
		'header': {
			'loading': {
				'show': false
			}
		},
		...opts
	});
}